package com.example.mybatisdemo.mapper;

import com.example.mybatisdemo.entity.bo.UserInfo;
import com.example.mybatisdemo.entity.vo.UserInfoVo;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface UserInfoMapper {

    void insertUser(UserInfo userInfo);
    void updateByPrimaryKey(UserInfo userInfo);
    void deleteByPrimaryKey(UserInfo userInfo);
    UserInfo selectByPrimaryKey(Long id);
    List<UserInfo> selectAll();
    String selectPassByMobile(String mobile);
    Long selectIdByMobile(String mobile);
}
